package com.project.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.DetailBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lyl
 * @since 2021-10-04
 * 订单详情mapper
 */
@Mapper
public interface DetailMapper extends BaseMapper<DetailBean> {
    /**
     * 根据订单编号查询商品详情
     *
     * @param orderCode 订单编号
     * @return 订单详情集合(商品名 ， 商品数量 ， 单价)
     */
    List<DetailBean> findDetailByOrderCode(String orderCode);
}
